STEP 16: Now that we have access to our timer variable, we should update the time while there are still dragons.

  • In LOGIC, go to , and drag in Add Value INSIDE your first if statement.
  • Change the variable name from my_var to timer.
  • Let's update our display. Still in , drag in Update Display underneath our first if statement.
  • Change my_display to timer_display. Change the variable inside from my_var to timer.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)